package com.shuiyun.jtt.message.jt808.extend;

import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shuiyun
 * @program device-simulator
 * @description can总线数据项
 * @date 2022-05-05 23:38
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CanInfo {

    @FieldValue(type = DataType.DWORD,desc = "can id")
    private Integer canId;

    @FieldValue(type = DataType.BYTES,length = 8,desc = "can数据")
    private byte[] canData;
}
